package com.cssl.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cssl.common.to.member.MemberUserLoginTO;
import com.cssl.common.to.member.MemberUserRegisterTO;
import com.cssl.common.vo.auth.GiteeUser;
import com.cssl.common.vo.auth.UserForgetVO;
import com.cssl.gulimall.member.entity.MemberEntity;

public interface MemberService extends IService<MemberEntity> {
    void regist(MemberUserRegisterTO user) throws InterruptedException ;

    MemberEntity login(MemberUserLoginTO user);

    MemberEntity login(GiteeUser user);

    MemberEntity hasPhoneBiding(String phone);

    void changePwd(UserForgetVO userForgetVO);
}
